package ${package}.${moduleName}.service;

import ${package}.${moduleName}.model.${BeanName}Model;
import ${package}.${moduleName}.request.${BeanName}FormReq;
import ${package}.${moduleName}.request.${BeanName}QueryReq;
import ${package}.${moduleName}.response.${BeanName}Rsp;
import com.qigio.api.util.Page;

import java.util.List;

/**
 * ${tableComment}
 *
 * @author ${author} ${email}
 */
public interface I${BeanName}Service  extends BaseService<${BeanName}Model> {
    Page<${BeanName}Rsp> page${BeanName}Rsp(int page, int size, ${BeanName}QueryReq req);

    List<${BeanName}Rsp> list${BeanName}Rsp(${BeanName}QueryReq req);

    ${BeanName}Rsp get${BeanName}Rsp(${BeanName}QueryReq req);

    boolean addFormReq(${BeanName}FormReq req);

    boolean updateFormReq(${BeanName}FormReq req);
}